#ifndef UTIL_LOGGING_H_GUARD_
#define UTIL_LOGGING_H_GUARD_

/* For logging you need to compile src/util/logging.c, src/stringutils.c and define `SEx_LOGGING`
 * If this header is included but `SEx_LOGGING` is not defined, you do not need to compile any additional files */

#ifndef SEx_LOGGING

#define SEx_Error(a)
#define SEx_Errorf(...)

#else

#define SEx_Error(a) SEx_ErrorSt(a)
#define SEx_Errorf(fmt, ...) SEx_ErrorfSt(fmt, __VA_ARGS__)

void SEx_ErrorSt ( const char * str );
void SEx_ErrorfSt ( const char * fmt, ... );


#endif
#endif
